package com.zdlee.netty.server17.protocol.response;

import com.zdlee.netty.server17.protocol.Packet;
import com.zdlee.netty.server17.session.Session;
import lombok.Data;

import java.util.List;

import static com.zdlee.netty.server17.protocol.command.Command.LIST_GROUP_MEMBERS_RESPONSE;

/**
 * @author zdlee
 * @description: ${DESCRIPTION}
 * @create 2018-12-01 15:35
 */
@Data
public class ListGroupMembersResponsePacket extends Packet {

    private String groupId;

    private List<Session> sessionList;

    @Override
    public Byte getCommand() {

        return LIST_GROUP_MEMBERS_RESPONSE;
    }
}